package com.xkcoding.task.repository.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "样例实体类")
@TableName(value = "person_group_info")
public class PersonGroupEntity {

    @Schema(description = "人员分组id")
    @TableId(value = "person_group_id")
    private String personGroupId;

    @Schema(description = "人员分组名称")
    @TableField(value = "person_group_name")
    private String personGroupName;

}
